package com.party.business.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.party.business.domain.TBusinessDept;
import org.apache.ibatis.annotations.Mapper;

/**
 * 业务部门Mapper接口
 *
 * @author ruoyi
 * @date 2024-11-11
 */
@Mapper
public interface TBusinessDeptMapper  extends BaseMapper<TBusinessDept>
{
    /**
     * 查询业务部门
     *
     * @param id 业务部门主键
     * @return 业务部门
     */
    public TBusinessDept selectTBusinessDeptById(String id);

    /**
     * 查询业务部门列表
     *
     * @param tBusinessDept 业务部门
     * @return 业务部门集合
     */
    public List<TBusinessDept> selectTBusinessDeptList(TBusinessDept tBusinessDept);

    /**
     * 新增业务部门
     *
     * @param tBusinessDept 业务部门
     * @return 结果
     */
    public int insertTBusinessDept(TBusinessDept tBusinessDept);

    /**
     * 修改业务部门
     *
     * @param tBusinessDept 业务部门
     * @return 结果
     */
    public int updateTBusinessDept(TBusinessDept tBusinessDept);

    /**
     * 删除业务部门
     *
     * @param id 业务部门主键
     * @return 结果
     */
    public int deleteTBusinessDeptById(String id);

    /**
     * 批量删除业务部门
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTBusinessDeptByIds(String[] ids);
}
